package com.warm.micro.common.exception;

import lombok.Data;

@Data
public class CommonException extends Exception {

    private Integer code;

    private String msg;

    public CommonException(int code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
